package com.example.demo;

import java.util.*;

public class ListFormat {
    public static void main(String[] args) {
        /*

        ProjectBuild pro = new ProjectBuild();
        List<ProjectBuild> list1 = new ArrayList<>();
        list1.add(null);
*/
        //list1.removeAll(Collections.singleton(null));
        /*BigDecimal a = new BigDecimal(200);
        BigDecimal b = new BigDecimal("800");

        BigDecimal rate = a.divide(b,4);*/

        //System.out.println(rate.toString());

        /*List<String> list = new ArrayList<>();
        list.add(null);




        String str= list.stream().filter(Objects::nonNull).findFirst().orElse("");


        System.out.println();*/




        List<String> list = new ArrayList<>();
        list.add("aaa");
        list.add("bbb");

        List<String> b = new ArrayList<>();
        b.add("bbb");
        b.add("ccc");

        String ccc = "ccc";

        List<String> c = new ArrayList<>();


        list.stream().forEach(lista -> {
            b.stream().forEach(listb -> {
                //if(lista.equals(listb)){
                    c.add(ccc);
                //}
            });
        });

        System.out.println(c);

    }
}
